#!/bin/sh

SRC_ROOT=`pwd`
DST_ROOT=~/workspace/tactics-engine

if [ ! -d ${DST_ROOT} ]; then
    echo Making new ${DST_ROOT} dir
    mkdir ${DST_ROOT}
fi

cd ${DST_ROOT}

echo Executing CMake
cmake -G "Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILT_TYPE=DEBUG ${SRC_ROOT}